/**
 * \file visit.cpp
 * \brief Node and Edge visit functions to be weaved
 * The functions are called in the traverse function and is weaved with the DOT aspect that outputs a dot file
 * \author Ameen Jaber
 * \author Mohamad Noureddine
 * \author Mohamed Sabra
 */
#include "visit.h"
#include<iostream>
#include <string>

using namespace std;
/** 
 * \brief visits all the edges of a vertex in the graph
 */
void visitEdge(int vSource, int vTarget, int opSource, int opTarget, int edgeLabel,string label)
{
	cout<<vSource<<"--"<<edgeLabel<<"-->"<<vTarget<<endl;	
}

/** 
 * \brief visits all the vertices in the graph
 */
void visitNode(int vID, int val, int opID, string varID,string label)
{
	cout<<"Node: "<<vID<<endl;
}
